<template>
  <div>
    <ZuJianItem v-for="item in arr" :key="item.art_id" :obj="item" @shan="shanFn"/>
  </div>
</template>

<script>
import ZuJianItem from '@/components/ArticleItem.vue'
export default {
  props: {
    arr: {
      type: Array,
      default: () => {
        return []
      }
    }
  },
  methods: {
    shanFn (item, action) {
      this.$emit('del', item, action)
    }
  },
  components: {
    ZuJianItem
  }
}
</script>

<style>
</style>
